<template>
  <div>
    <div class="list" v-for="(item, index) in newMessage" :key="index">
      <van-field label="子项编号" v-model="item.item" readonly />
      <van-field label="物料号" v-model="item.material" readonly />
      <van-field label="名称" v-model="item.materialName" readonly />
      <van-field label="库存状态" v-model="item.stkstatus" readonly />
      <van-field label="预入库数" v-model="item.quantity" readonly />
      <van-field label="已入库数" v-model="item.aquantity" readonly />
      <hr />
    </div>
  </div>
</template>

<script>
export default {
  name: "Warehousing",
  props: {
    newMessage: Array,
  },
};
</script>

<style lang="less" scoped>
.ag-theme-alpine .ag-root-wrapper {
  border-left-width: 0;
  border-right-width: 0;
}
</style>
